home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-02-22 | 3.6 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Feb 22 23:59:44 1993, modified Mon Feb 22 23:59:44 1993, creator Think C, type ASCII, 2949 bytes "SndPlay1.c" , at 0xc05 428 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 53 6e 64 50 6c 61 | 79 31 2e 63 00 00 00 00 |..SndPla|y1.c....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0b 85 00 | 00 01 ac a7 af 5f c0 a7 |........|....._..|
|00000060| af 5f c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |._......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b4 d2 00 00 |........|........|
|00000080| 2f 2a 20 0d 53 6e 64 50 | 6c 61 79 31 2e 63 0d 0d |/* .SndP|lay1.c..|
|00000090| 53 6e 64 50 6c 61 79 31 | 28 73 6e 64 29 20 70 6c |SndPlay1|(snd) pl|
|000000a0| 61 79 73 20 61 20 73 6f | 75 6e 64 2c 20 61 73 79 |ays a so|und, asy|
|000000b0| 6e 63 68 72 6f 6e 6f 75 | 73 6c 79 2c 20 69 2e 65 |nchronou|sly, i.e|
|000000c0| 2e 20 69 74 20 72 65 74 | 75 72 6e 73 20 69 6d 6d |. it ret|urns imm|
|000000d0| 65 64 69 61 74 65 6c 79 | 2c 20 77 68 69 6c 65 20 |ediately|, while |
|000000e0| 74 68 65 0d 73 6f 75 6e | 64 20 69 73 20 73 74 69 |the.soun|d is sti|
|000000f0| 6c 6c 20 70 6c 61 79 69 | 6e 67 2e 20 54 68 65 20 |ll playi|ng. The |
|00000100| 61 72 67 75 6d 65 6e 74 | 20 69 73 20 61 20 68 61 |argument| is a ha|
|00000110| 6e 64 6c 65 20 74 6f 20 | 61 20 73 6e 64 20 72 65 |ndle to |a snd re|
|00000120| 73 6f 75 72 63 65 2e 20 | 49 66 20 61 20 73 6f 75 |source. |If a sou|
|00000130| 6e 64 20 69 73 20 0d 73 | 74 69 6c 6c 20 70 6c 61 |nd is .s|till pla|
|00000140| 79 69 6e 67 20 66 72 6f | 6d 20 61 20 70 72 65 76 |ying fro|m a prev|
|00000150| 69 6f 75 73 20 63 61 6c | 6c 20 74 6f 20 53 6e 64 |ious cal|l to Snd|
|00000160| 50 6c 61 79 31 2c 20 69 | 74 20 69 73 20 61 6c 6c |Play1, i|t is all|
|00000170| 6f 77 65 64 20 74 6f 20 | 66 69 6e 69 73 68 20 62 |owed to |finish b|
|00000180| 65 66 6f 72 65 0d 63 6c | 6f 73 69 6e 67 20 61 6e |efore.cl|osing an|
|00000190| 64 20 72 65 6f 70 65 6e | 69 6e 67 20 74 68 65 20 |d reopen|ing the |
|000001a0| 63 68 61 6e 6e 65 6c 20 | 61 6e 64 20 62 65 67 69 |channel |and begi|
|000001b0| 6e 6e 69 6e 67 20 74 68 | 65 20 6e 65 77 20 73 6f |nning th|e new so|
|000001c0| 75 6e 64 2e 0d 53 6e 64 | 50 6c 61 79 31 28 4e 55 |und..Snd|Play1(NU|
|000001d0| 4c 4c 29 20 77 61 69 74 | 73 20 66 6f 72 20 74 68 |LL) wait|s for th|
|000001e0| 65 20 73 6f 75 6e 64 20 | 74 6f 20 65 6e 64 20 61 |e sound |to end a|
|000001f0| 6e 64 20 74 68 65 6e 20 | 63 6c 6f 73 65 73 20 74 |nd then |closes t|
|00000200| 68 65 20 63 68 61 6e 6e | 65 6c 2e 0d 53 6e 64 53 |he chann|el..SndS|
|00000210| 74 6f 70 31 28 29 20 63 | 6c 6f 73 65 73 20 74 68 |top1() c|loses th|
|00000220| 65 20 63 68 61 6e 6e 65 | 6c 20 69 6d 6d 65 64 69 |e channe|l immedi|
|00000230| 61 74 65 6c 79 2e 0d 53 | 6e 64 44 6f 6e 65 31 28 |ately..S|ndDone1(|
|00000240| 29 20 72 65 74 75 72 6e | 73 20 74 72 75 65 20 6f |) return|s true o|
|00000250| 6e 63 65 20 74 68 65 20 | 6c 61 73 74 20 73 6f 75 |nce the |last sou|
|00000260| 6e 64 20 69 6e 69 74 69 | 61 74 65 64 20 62 79 20 |nd initi|ated by |
|00000270| 53 6e 64 50 6c 61 79 31 | 28 29 20 68 61 73 20 0d |SndPlay1|() has .|
|00000280| 66 69 6e 69 73 68 65 64 | 2e 0d 0d 47 45 4e 45 52 |finished|...GENER|
|00000290| 41 4c 20 4e 4f 54 45 3a | 0d 54 68 65 20 41 70 70 |AL NOTE:|.The App|
|000002a0| 6c 65 20 53 6f 75 6e 64 | 20 4d 61 6e 61 67 65 72 |le Sound| Manager|
|000002b0| 20 68 61 73 20 74 68 65 | 20 61 6e 6e 6f 79 69 6e | has the| annoyin|
|000002c0| 67 20 63 68 61 72 61 63 | 74 65 72 69 73 74 69 63 |g charac|teristic|
|000002d0| 20 6f 66 20 69 6e 73 69 | 73 74 69 6e 67 20 6f 6e | of insi|sting on|
|000002e0| 20 6c 6f 61 64 69 6e 67 | 0d 61 6e 79 20 73 79 6e | loading|.any syn|
|000002f0| 74 68 20 74 68 61 74 27 | 73 20 6d 65 6e 74 69 6f |th that'|s mentio|
|00000300| 6e 65 64 20 69 6e 20 61 | 20 73 6e 64 20 72 65 73 |ned in a| snd res|
|00000310| 6f 75 72 63 65 2c 20 65 | 76 65 6e 20 69 66 20 74 |ource, e|ven if t|
|00000320| 68 61 74 20 73 79 6e 74 | 68 20 69 73 20 61 6c 72 |hat synt|h is alr|
|00000330| 65 61 64 79 20 6c 6f 61 | 64 65 64 2c 0d 77 68 69 |eady loa|ded,.whi|
|00000340| 63 68 20 63 61 75 73 65 | 73 20 61 6e 20 65 72 72 |ch cause|s an err|
|00000350| 6f 72 2e 20 54 68 69 73 | 20 6d 61 6b 65 73 20 69 |or. This| makes i|
|00000360| 74 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 64 |t necess|ary to d|
|00000370| 69 73 70 6f 73 65 20 6f | 66 20 61 6e 64 20 72 65 |ispose o|f and re|
|00000380| 63 72 65 61 74 65 20 74 | 68 65 20 0d 73 6e 64 20 |create t|he .snd |
|00000390| 63 68 61 6e 6e 65 6c 20 | 62 65 66 6f 72 65 20 65 |channel |before e|
|000003a0| 61 63 68 20 6e 65 77 20 | 73 6f 75 6e 64 2c 20 77 |ach new |sound, w|
|000003b0| 68 69 63 68 20 74 68 65 | 73 65 20 72 6f 75 74 69 |hich the|se routi|
|000003c0| 6e 65 73 20 64 6f 2e 20 | 41 70 70 6c 65 20 61 64 |nes do. |Apple ad|
|000003d0| 76 69 73 65 73 20 61 67 | 61 69 6e 73 74 20 0d 74 |vises ag|ainst .t|
|000003e0| 68 69 73 20 61 70 70 72 | 6f 61 63 68 20 62 65 63 |his appr|oach bec|
|000003f0| 61 75 73 65 20 69 74 20 | 6c 65 61 76 65 73 20 74 |ause it |leaves t|
|00000400| 68 65 20 63 68 61 6e 6e | 65 6c 20 6f 70 65 6e 20 |he chann|el open |
|00000410| 61 20 6c 6f 74 20 6f 66 | 20 74 68 65 20 74 69 6d |a lot of| the tim|
|00000420| 65 2c 20 0d 77 68 69 63 | 68 20 62 6c 6f 63 6b 73 |e, .whic|h blocks|
|00000430| 20 53 79 73 42 65 65 70 | 2e 20 0d 0d 54 6f 20 61 | SysBeep|. ..To a|
|00000440| 76 6f 69 64 20 74 68 69 | 73 2c 20 6d 61 6b 65 20 |void thi|s, make |
|00000450| 73 75 72 65 20 74 6f 20 | 63 61 6c 6c 20 53 6e 64 |sure to |call Snd|
|00000460| 50 6c 61 79 31 28 4e 55 | 4c 4c 29 20 6f 72 20 53 |Play1(NU|LL) or S|
|00000470| 6e 64 53 74 6f 70 31 28 | 29 20 74 6f 20 63 6c 6f |ndStop1(|) to clo|
|00000480| 73 65 20 74 68 65 20 63 | 68 61 6e 6e 65 6c 20 61 |se the c|hannel a|
|00000490| 66 74 65 72 0d 79 6f 75 | 20 73 74 61 72 74 20 61 |fter.you| start a|
|000004a0| 20 73 6f 75 6e 64 20 67 | 6f 69 6e 67 2e 0d 0d 54 | sound g|oing...T|
|000004b0| 68 65 20 65 61 73 69 65 | 73 74 20 77 61 79 20 74 |he easie|st way t|
|000004c0| 6f 20 67 65 74 20 61 20 | 73 6f 75 6e 64 20 74 6f |o get a |sound to|
|000004d0| 20 70 6c 61 79 20 69 73 | 20 74 6f 20 63 61 6c 6c | play is| to call|
|000004e0| 20 47 65 74 4e 61 6d 65 | 64 52 65 73 6f 75 72 63 | GetName|dResourc|
|000004f0| 65 28 29 2e 20 0d 09 48 | 61 6e 64 6c 65 20 73 6e |e(). ..H|andle sn|
|00000500| 64 3b 0d 09 73 6e 64 3d | 47 65 74 4e 61 6d 65 64 |d;..snd=|GetNamed|
|00000510| 52 65 73 6f 75 72 63 65 | 28 27 73 6e 64 20 27 2c |Resource|('snd ',|
|00000520| 22 5c 70 53 69 6d 70 6c | 65 20 42 65 65 70 22 29 |"\pSimpl|e Beep")|
|00000530| 3b 0d 48 6f 77 65 76 65 | 72 2c 20 69 74 27 73 20 |;.Howeve|r, it's |
|00000540| 61 6c 73 6f 20 65 61 73 | 79 20 74 6f 20 63 72 65 |also eas|y to cre|
|00000550| 61 74 65 20 79 6f 75 72 | 20 6f 77 6e 20 73 6e 64 |ate your| own snd|
|00000560| 20 69 6e 20 6d 65 6d 6f | 72 79 2c 20 61 73 20 61 | in memo|ry, as a|
|00000570| 20 73 65 72 69 65 73 20 | 6f 66 20 63 6f 6d 6d 61 | series |of comma|
|00000580| 6e 64 73 2c 0d 66 6f 6c | 6c 6f 77 69 6e 67 20 74 |nds,.fol|lowing t|
|00000590| 68 65 20 69 6e 73 74 72 | 75 63 74 69 6f 6e 73 20 |he instr|uctions |
|000005a0| 69 6e 20 49 6e 73 69 64 | 65 20 4d 61 63 20 56 49 |in Insid|e Mac VI|
|000005b0| 2e 0d 0d 48 49 53 54 4f | 52 59 3a 0d 33 2f 33 30 |...HISTO|RY:.3/30|
|000005c0| 2f 39 32 09 64 67 70 20 | 77 72 6f 74 65 20 69 74 |/92.dgp |wrote it|
|000005d0| 2e 0d 34 2f 31 2f 39 32 | 09 64 67 70 09 72 65 6e |..4/1/92|.dgp.ren|
|000005e0| 61 6d 65 64 20 69 74 20 | 61 6e 64 20 63 6f 6d 6d |amed it |and comm|
|000005f0| 65 6e 74 65 64 20 6f 75 | 74 20 74 68 65 20 70 72 |ented ou|t the pr|
|00000600| 69 6e 74 66 27 73 2e 0d | 2a 2f 0d 23 69 6e 63 6c |intf's..|*/.#incl|
|00000610| 75 64 65 20 22 56 69 64 | 65 6f 54 6f 6f 6c 62 6f |ude "Vid|eoToolbo|
|00000620| 78 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 3c 53 |x.h".#in|clude <S|
|00000630| 6f 75 6e 64 2e 68 3e 0d | 73 74 61 74 69 63 20 70 |ound.h>.|static p|
|00000640| 61 73 63 61 6c 20 76 6f | 69 64 20 53 6e 64 43 61 |ascal vo|id SndCa|
|00000650| 6c 6c 42 61 63 6b 28 53 | 6e 64 43 68 61 6e 6e 65 |llBack(S|ndChanne|
|00000660| 6c 50 74 72 20 63 68 61 | 6e 6e 65 6c 2c 53 6e 64 |lPtr cha|nnel,Snd|
|00000670| 43 6f 6d 6d 61 6e 64 20 | 63 6f 6d 6d 61 6e 64 29 |Command |command)|
|00000680| 3b 0d 73 74 61 74 69 63 | 20 53 6e 64 43 68 61 6e |;.static| SndChan|
|00000690| 6e 65 6c 50 74 72 20 63 | 68 61 6e 6e 65 6c 3d 4e |nelPtr c|hannel=N|
|000006a0| 55 4c 4c 3b 0d 73 74 61 | 74 69 63 20 73 68 6f 72 |ULL;.sta|tic shor|
|000006b0| 74 20 73 6f 75 6e 64 44 | 6f 6e 65 3b 0d 0d 4f 53 |t soundD|one;..OS|
|000006c0| 45 72 72 20 53 6e 64 50 | 6c 61 79 31 28 48 61 6e |Err SndP|lay1(Han|
|000006d0| 64 6c 65 20 73 6e 64 29 | 0d 7b 0d 09 4f 53 45 72 |dle snd)|.{..OSEr|
|000006e0| 72 20 65 72 72 6f 72 3d | 30 3b 0d 09 53 6e 64 43 |r error=|0;..SndC|
|000006f0| 6f 6d 6d 61 6e 64 20 63 | 61 6c 6c 42 61 63 6b 3b |ommand c|allBack;|
|00000700| 0d 09 73 74 61 74 69 63 | 20 66 69 72 73 74 54 69 |..static| firstTi|
|00000710| 6d 65 3d 31 3b 0d 0d 09 | 69 66 28 66 69 72 73 74 |me=1;...|if(first|
|00000720| 54 69 6d 65 29 7b 0d 09 | 09 23 69 66 6e 64 65 66 |Time){..|.#ifndef|
|00000730| 20 4d 41 54 4c 41 42 0d | 09 09 09 5f 61 74 65 78 | MATLAB.|..._atex|
|00000740| 69 74 28 53 6e 64 53 74 | 6f 70 31 29 3b 0d 09 09 |it(SndSt|op1);...|
|00000750| 23 65 6e 64 69 66 0d 09 | 09 66 69 72 73 74 54 69 |#endif..|.firstTi|
|00000760| 6d 65 3d 30 3b 0d 09 7d | 0d 09 69 66 28 63 68 61 |me=0;..}|..if(cha|
|00000770| 6e 6e 65 6c 21 3d 4e 55 | 4c 4c 29 65 72 72 6f 72 |nnel!=NU|LL)error|
|00000780| 3d 53 6e 64 44 69 73 70 | 6f 73 65 43 68 61 6e 6e |=SndDisp|oseChann|
|00000790| 65 6c 28 63 68 61 6e 6e | 65 6c 2c 46 41 4c 53 45 |el(chann|el,FALSE|
|000007a0| 29 3b 09 2f 2f 20 77 61 | 69 74 20 74 69 6c 6c 20 |);.// wa|it till |
|000007b0| 64 6f 6e 65 0d 09 63 68 | 61 6e 6e 65 6c 3d 4e 55 |done..ch|annel=NU|
|000007c0| 4c 4c 3b 0d 09 69 66 28 | 65 72 72 6f 72 29 72 65 |LL;..if(|error)re|
|000007d0| 74 75 72 6e 20 65 72 72 | 6f 72 3b 0d 09 69 66 28 |turn err|or;..if(|
|000007e0| 73 6e 64 3d 3d 4e 55 4c | 4c 29 72 65 74 75 72 6e |snd==NUL|L)return|
|000007f0| 20 30 3b 0d 09 65 72 72 | 6f 72 3d 53 6e 64 4e 65 | 0;..err|or=SndNe|
|00000800| 77 43 68 61 6e 6e 65 6c | 28 26 63 68 61 6e 6e 65 |wChannel|(&channe|
|00000810| 6c 2c 30 2c 30 4c 2c 53 | 6e 64 43 61 6c 6c 42 61 |l,0,0L,S|ndCallBa|
|00000820| 63 6b 29 3b 0d 09 69 66 | 28 65 72 72 6f 72 29 7b |ck);..if|(error){|
|00000830| 0d 2f 2f 09 09 70 72 69 | 6e 74 66 28 22 53 6e 64 |.//..pri|ntf("Snd|
|00000840| 50 6c 61 79 31 3a 53 6e | 64 4e 65 77 43 68 61 6e |Play1:Sn|dNewChan|
|00000850| 6e 65 6c 20 66 61 69 6c | 65 64 20 77 69 74 68 20 |nel fail|ed with |
|00000860| 65 72 72 6f 72 20 25 64 | 5c 6e 22 2c 65 72 72 6f |error %d|\n",erro|
|00000870| 72 29 3b 0d 09 09 72 65 | 74 75 72 6e 20 65 72 72 |r);...re|turn err|
|00000880| 6f 72 3b 0d 09 7d 0d 09 | 65 72 72 6f 72 3d 53 6e |or;..}..|error=Sn|
|00000890| 64 50 6c 61 79 28 63 68 | 61 6e 6e 65 6c 2c 73 6e |dPlay(ch|annel,sn|
|000008a0| 64 2c 54 52 55 45 29 3b | 0d 09 69 66 28 65 72 72 |d,TRUE);|..if(err|
|000008b0| 6f 72 29 7b 0d 2f 2f 09 | 09 70 72 69 6e 74 66 28 |or){.//.|.printf(|
|000008c0| 22 53 6e 64 50 6c 61 79 | 31 3a 53 6e 64 50 6c 61 |"SndPlay|1:SndPla|
|000008d0| 79 20 66 61 69 6c 65 64 | 20 77 69 74 68 20 65 72 |y failed| with er|
|000008e0| 72 6f 72 20 25 64 5c 6e | 22 2c 65 72 72 6f 72 29 |ror %d\n|",error)|
|000008f0| 3b 0d 09 09 72 65 74 75 | 72 6e 20 65 72 72 6f 72 |;...retu|rn error|
|00000900| 3b 0d 09 7d 0d 09 73 6f | 75 6e 64 44 6f 6e 65 3d |;..}..so|undDone=|
|00000910| 30 3b 0d 09 63 61 6c 6c | 42 61 63 6b 2e 63 6d 64 |0;..call|Back.cmd|
|00000920| 3d 63 61 6c 6c 42 61 63 | 6b 43 6d 64 3b 0d 09 63 |=callBac|kCmd;..c|
|00000930| 61 6c 6c 42 61 63 6b 2e | 70 61 72 61 6d 31 3d 31 |allBack.|param1=1|
|00000940| 3b 0d 09 63 61 6c 6c 42 | 61 63 6b 2e 70 61 72 61 |;..callB|ack.para|
|00000950| 6d 32 3d 28 6c 6f 6e 67 | 29 26 73 6f 75 6e 64 44 |m2=(long|)&soundD|
|00000960| 6f 6e 65 3b 0d 09 65 72 | 72 6f 72 3d 53 6e 64 44 |one;..er|ror=SndD|
|00000970| 6f 43 6f 6d 6d 61 6e 64 | 28 63 68 61 6e 6e 65 6c |oCommand|(channel|
|00000980| 2c 26 63 61 6c 6c 42 61 | 63 6b 2c 46 41 4c 53 45 |,&callBa|ck,FALSE|
|00000990| 29 3b 0d 2f 2f 09 69 66 | 28 65 72 72 6f 72 29 70 |);.//.if|(error)p|
|000009a0| 72 69 6e 74 66 28 22 53 | 6e 64 50 6c 61 79 31 3a |rintf("S|ndPlay1:|
|000009b0| 53 6e 64 44 6f 43 6f 6d | 6d 61 6e 64 20 66 61 69 |SndDoCom|mand fai|
|000009c0| 6c 65 64 20 77 69 74 68 | 20 65 72 72 6f 72 20 25 |led with| error %|
|000009d0| 64 5c 6e 22 2c 65 72 72 | 6f 72 29 3b 0d 09 72 65 |d\n",err|or);..re|
|000009e0| 74 75 72 6e 20 65 72 72 | 6f 72 3b 0d 7d 0d 0d 76 |turn err|or;.}..v|
|000009f0| 6f 69 64 20 53 6e 64 53 | 74 6f 70 31 28 76 6f 69 |oid SndS|top1(voi|
|00000a00| 64 29 0d 7b 0d 09 69 66 | 28 63 68 61 6e 6e 65 6c |d).{..if|(channel|
|00000a10| 21 3d 4e 55 4c 4c 29 53 | 6e 64 44 69 73 70 6f 73 |!=NULL)S|ndDispos|
|00000a20| 65 43 68 61 6e 6e 65 6c | 28 63 68 61 6e 6e 65 6c |eChannel|(channel|
|00000a30| 2c 54 52 55 45 29 3b 09 | 09 2f 2f 20 69 6d 6d 65 |,TRUE);.|.// imme|
|00000a40| 64 69 61 74 65 6c 79 0d | 09 63 68 61 6e 6e 65 6c |diately.|.channel|
|00000a50| 3d 4e 55 4c 4c 3b 0d 7d | 0d 0d 73 68 6f 72 74 20 |=NULL;.}|..short |
|00000a60| 53 6e 64 44 6f 6e 65 31 | 28 76 6f 69 64 29 0d 2f |SndDone1|(void)./|
|00000a70| 2f 20 52 65 74 75 72 6e | 73 20 74 72 75 65 20 6f |/ Return|s true o|
|00000a80| 6e 63 65 20 74 68 65 20 | 6c 61 73 74 20 73 6f 75 |nce the |last sou|
|00000a90| 6e 64 20 69 6e 69 74 69 | 61 74 65 64 20 62 79 20 |nd initi|ated by |
|00000aa0| 53 6e 64 50 6c 61 79 31 | 20 68 61 73 20 0d 2f 2f |SndPlay1| has .//|
|00000ab0| 20 66 69 6e 69 73 68 65 | 64 2e 0d 7b 0d 09 72 65 | finishe|d..{..re|
|00000ac0| 74 75 72 6e 20 73 6f 75 | 6e 64 44 6f 6e 65 3b 0d |turn sou|ndDone;.|
|00000ad0| 7d 0d 0d 23 70 72 61 67 | 6d 61 20 6f 70 74 69 6f |}..#prag|ma optio|
|00000ae0| 6e 73 28 21 70 72 6f 66 | 69 6c 65 29 09 2f 2f 20 |ns(!prof|ile).// |
|00000af0| 44 69 73 61 62 6c 65 20 | 70 72 6f 66 69 6c 69 6e |Disable |profilin|
|00000b00| 67 20 62 65 63 61 75 73 | 65 20 41 35 20 6d 61 79 |g becaus|e A5 may|
|00000b10| 20 62 65 20 69 6e 76 61 | 6c 69 64 2e 0d 0d 73 74 | be inva|lid...st|
|00000b20| 61 74 69 63 20 70 61 73 | 63 61 6c 20 76 6f 69 64 |atic pas|cal void|
|00000b30| 20 53 6e 64 43 61 6c 6c | 42 61 63 6b 28 53 6e 64 | SndCall|Back(Snd|
|00000b40| 43 68 61 6e 6e 65 6c 50 | 74 72 20 63 68 61 6e 6e |ChannelP|tr chann|
|00000b50| 65 6c 2c 53 6e 64 43 6f | 6d 6d 61 6e 64 20 63 6f |el,SndCo|mmand co|
|00000b60| 6d 6d 61 6e 64 29 0d 2f | 2f 20 4c 6f 61 64 20 61 |mmand)./|/ Load a|
|00000b70| 20 73 68 6f 72 74 20 69 | 6e 74 2e 0d 2f 2f 20 43 | short i|nt..// C|
|00000b80| 61 6c 6c 65 64 20 62 61 | 63 6b 20 62 79 20 73 6f |alled ba|ck by so|
|00000b90| 75 6e 64 20 6d 61 6e 61 | 67 65 72 2e 20 20 4c 65 |und mana|ger. Le|
|00000ba0| 74 73 20 75 73 20 6b 6e | 6f 77 20 77 68 65 6e 20 |ts us kn|ow when |
|00000bb0| 73 6f 75 6e 64 20 69 73 | 20 64 6f 6e 65 2e 0d 7b |sound is| done..{|
|00000bc0| 0d 09 69 66 28 63 6f 6d | 6d 61 6e 64 2e 70 61 72 |..if(com|mand.par|
|00000bd0| 61 6d 32 20 21 3d 20 30 | 4c 29 20 2a 28 73 68 6f |am2 != 0|L) *(sho|
|00000be0| 72 74 20 2a 29 63 6f 6d | 6d 61 6e 64 2e 70 61 72 |rt *)com|mand.par|
|00000bf0| 61 6d 32 3d 63 6f 6d 6d | 61 6e 64 2e 70 61 72 61 |am2=comm|and.para|
|00000c00| 6d 31 3b 0d 7d 00 00 00 | 00 00 00 00 00 00 00 00 |m1;.}...|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000c90| 47 56 43 69 54 45 58 54 | 04 00 00 00 00 00 00 00 |GVCiTEXT|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 0a 53 6e 64 50 6c 61 79 | 31 2e 63 6c 02 00 00 00 |.SndPlay|1.cl....|
|00000cc0| 54 45 58 54 4b 41 48 4c | 00 00 00 00 00 00 00 00 |TEXTKAHL|........|
|00000cd0| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 a7 e5 d5 cf 00 00 | 00 00 00 00 01 ac 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 90 25 01 47 56 |........|....%.GV|
|00000d10| 63 69 54 45 58 54 03 00 | 00 00 00 00 00 00 00 00 |ciTEXT..|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 c5 25 01 | 48 72 6d 74 41 50 50 4c |......%.|HrmtAPPL|
|00000d40| 03 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 1a |........|........|
|00000d60| 25 01 49 6e 55 73 63 64 | 65 76 01 00 00 00 00 00 |%.InUscd|ev......|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 06 | 00 04 00 50 00 20 01 8d |........|...P. ..|
|00000db0| 02 3d 00 50 00 20 01 8d | 02 3d a7 ac 98 2c 00 00 |.=.P. ..|.=...,..|
|00000dc0| 02 0b 00 00 02 0b 00 00 | 01 b7 01 00 00 00 00 1e |........|........|
|00000dd0| 00 50 00 20 01 8d 02 3d | 00 50 00 20 01 8d 02 3d |.P. ...=|.P. ...=|
|00000de0| 00 00 01 b7 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 4e |.....n..|.n...>.N|
|00000e00| f1 a8 14 92 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR|
|00000e10| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 03 f0 ff ff 00 00 00 4c | 00 50 ef 28 00 00 00 00 |.......L|.P.(....|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+